Module: hooks/useDebounce
Functions
default
▸ default<TValue
>(value
, delayMs?
): TValue
Debounce a value (e.g. From an input element).
Type parameters
Name |
---|
TValue |
Parameters
Name | Type | Default value | Description |
---|---|---|---|
value | TValue | undefined | Value to debounce. |
delayMs | number | 500 | Delay in milliseconds. |
Returns
TValue